//
//  XAFirstCollectionViewCell.h
//  SelfDriving
//
//  Created by 薛安 on 2017/6/20.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DTModel.h"

@protocol XAFirstCollectionViewCellDelegate <NSObject>

@optional

-(void)willShowAllDeleteBtn;
-(void)willDismissAllDeleteBtn;
-(void)willDeleteACellWithModel:(DTModel*)model path: (NSIndexPath*)indexpath;

@end

@interface XAFirstCollectionViewCell : UICollectionViewCell

@property (weak, nonatomic) id<XAFirstCollectionViewCellDelegate> delegate;

@property (strong, nonatomic) UIImageView *imageView;

@property (strong, nonatomic) UILabel *label;

@property (strong, nonatomic) UIButton *deleteBtn;

//@property (strong, nonatomic) NSIndexPath *deletePath;
//
@property (strong, nonatomic) NSString *userID;

@property (strong, nonatomic) DTModel *model;

@property (strong, nonatomic) NSIndexPath* path;

@end
